import request from '@/utils/request'

// 负载电价设置

// 列表 错误码300041
export function list(data) {
    return request({
        url: '/device/price-load/list',
        method: 'post',
        data
    })
}

// 人工读取 错误码300042
export function reading(data) {
    return request({
        url: '/device/price-load/manual/reading',
        method: 'post',
        data
    })
}
// 负载电价设置 错误码300043
export function insert(data) {
    return request({
        url: '/device/price-load/fee/insert',
        method: 'post',
        data
    })
}

// 分时段设置 错误码300044
export function timeInsert(data) {
    return request({
        url: '/device/price-load/time/insert',
        method: 'post',
        data
    })
}

// 获取设备列表 错误码300045
export function getEquipments(params) {
    return request({
        url: '/device/archive/linkage/list',
        method: 'get',
        params
    })
}

